Optimal. Leaf size=93 \[ \frac {2 x \sqrt {1+\frac {a x^{j-n}}{b}} \, _2F_1\left (\frac {1}{2},\frac {2-n}{2 (j-n)};1+\frac {1-\frac {n}{2}}{j-n};-\frac {a x^{j-n}}{b}\right )}{(2-n) \sqrt {a x^j+b x^n}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 93, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {2036, 372, 371}
\begin {gather*} \frac {2 x \sqrt {\frac {a x^{j-n}}{b}+1} \, _2F_1\left (\frac {1}{2},\frac {2-n}{2 (j-n)};\frac {1-\frac {n}{2}}{j-n}+1;-\frac {a x^{j-n}}{b}\right )}{(2-n) \sqrt {a x^j+b x^n}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 372
Rule 2036
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {a x^j+b x^n}} \, dx &=\frac {\left (x^{n/2} \sqrt {b+a x^{j-n}}\right ) \int \frac {x^{-n/2}}{\sqrt {b+a x^{j-n}}} \, dx}{\sqrt {a x^j+b x^n}}\\ &=\frac {\left (x^{n/2} \sqrt {1+\frac {a x^{j-n}}{b}}\right ) \int \frac {x^{-n/2}}{\sqrt {1+\frac {a x^{j-n}}{b}}} \, dx}{\sqrt {a x^j+b x^n}}\\ &=\frac {2 x \sqrt {1+\frac {a x^{j-n}}{b}} \, _2F_1\left (\frac {1}{2},\frac {2-n}{2 (j-n)};1+\frac {1-\frac {n}{2}}{j-n};-\frac {a x^{j-n}}{b}\right )}{(2-n) \sqrt {a x^j+b x^n}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 88, normalized size = 0.95 \begin {gather*} -\frac {2 x \sqrt {1+\frac {a x^{j-n}}{b}} \, _2F_1\left (\frac {1}{2},\frac {-2+n}{2 (-j+n)};1+\frac {-2+n}{2 (-j+n)};-\frac {a x^{j-n}}{b}\right )}{(-2+n) \sqrt {a x^j+b x^n}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.09, size = 0, normalized size = 0.00 \[\int \frac {1}{\sqrt {a \,x^{j}+b \,x^{n}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {a x^{j} + b x^{n}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.27, size = 83, normalized size = 0.89 \begin {gather*} -\frac {x\,\sqrt {\frac {b\,x^{n-j}}{a}+1}\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{2},\frac {\frac {j}{2}-1}{j-n};\ \frac {\frac {j}{2}-1}{j-n}+1;\ -\frac {b\,x^{n-j}}{a}\right )}{\left (\frac {j}{2}-1\right )\,\sqrt {a\,x^j+b\,x^n}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________